package com.jianzhile.jobs.activities;

import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.jianzhile.jobs.R;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by wutairui on 16/3/2.
 */
public class QrActivity extends AppCompatActivity implements View.OnClickListener{

    @Bind(R.id.toolbar)
    public Toolbar toolbar;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_qr);

        ButterKnife.bind(this);

        setSupportActionBar(toolbar);

        final ActionBar ab = getSupportActionBar();
        ab.setDisplayHomeAsUpEnabled(true);
        ab.setDefaultDisplayHomeAsUpEnabled(true);
        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                QrActivity.this.finish();
            }
        });
        ab.setTitle("");
    }


    @Override
    public void onClick(View v) {

    }
}
